EMBERHOLT LAUNCHER
==================

This starts World of Warcraft Forever and connects it to Emberholt
(emberholt.d-media.cc). It only ever connects to Emberholt.

You need
- The WoW Forever game, build 1.60.1.71139 (Battle.net "WoW Forever").
  1.60.1.71091 also still works. Older builds are not supported.
- An Emberholt account: http://emberholt.d-media.cc/register.php

Setting up (once)
1. Right-click the zip and choose "Extract All". Keep the whole
   "Emberholt Launcher" folder together; don't run it from inside the zip.
2. Double-click "Emberholt Launcher.exe".
3. Press PLAY. The first time:
   - it asks to set up your game for Emberholt: click "Set it up";
   - if Battle.net is open, it closes it for you after a few seconds;
   - preparing the game takes a few minutes the first time, seconds after.
4. At the login screen, sign in with your Emberholt email and password.

Every time after that: open Emberholt Launcher and press PLAY.

If the launcher can't find the game, click "Change..." and choose Wow.exe
in World of Warcraft\_forever_.

GM panel add-on: if you already have NightVibesGMPanel installed, the
launcher updates it to the bundled version when you press PLAY. Your
panel settings are kept. Players without it are not affected.

Problems? Click "Show details" in the launcher. Logs are saved in
%LOCALAPPDATA%\Emberholt Launcher\logs. Ask the Emberholt team for help.

The "runtime" (Python, PSF license) and "setup" (includes MIT-licensed
code, see setup\LICENSE-CASCETTE-MIT) folders are needed by the launcher.

Version 1.1.7: Forever (wowf) profiles now carry the Emberholt key on every
row, fixing "You have been disconnected" right after "Logging into game
server" on Forever 70685.

Version 1.1.7r5 (setup 1.1.9d): Emberholt now runs only on WoW Forever
1.60.1.71037. Older game builds show an "update WoW Forever" message.

Version 1.1.7r6 (setup 1.1.9e): PLAY auto-detects WoW Forever (_forever_)
and WoW Beta (_classic_beta_), including custom Battle.net install folders,
and starts Forever first, otherwise Beta, if it is 1.60.1.71037.

Version 1.1.7r7 (setup 1.1.9f): the in-game Support window (Game Menu >
Support) now opens Emberholt Support. The first PLAY asks once for
administrator rights (Windows "Yes/No" prompt) to add the name
emberholt.actual.battle.net to the hosts file and to trust the
"Emberholt Support Name CA" certificate, which is only valid for that
one name. To undo it: runtime\python.exe setup\emberholt_wowf_bridge.py --emberholt-remove-support

Version 1.1.7r8 (setup 1.1.9g): Support window sign-in. Each PLAY asks for
administrator rights once (Windows "Yes/No") and, only while WoW runs, points
account.battle.net at Emberholt (trusted by the "Emberholt Account Redirect CA",
valid only for that name). It is removed when WoW exits; a "Emberholt account
redirect cleanup" scheduled task removes any leftover at startup/logon and every
5 minutes while WoW is not running, so the Battle.net app keeps working.

Version 1.2.1 (setup 1.2.1): Battle.net can stay open. PLAY here goes to Emberholt, PLAY in Battle.net goes to Blizzard. The launcher updates itself from the Emberholt website and deletes the old version afterwards. If WoW Forever is on a newer patch than Emberholt, the launcher says Emberholt is updating and does not start the game.

Version 1.2.1: while WoW runs from this launcher, account.battle.net points at Emberholt for the in-game Support window (one admin prompt per PLAY, together with emberholt.actual.battle.net). It is removed 90 seconds after WoW closes, so Battle.net keeps working.

Version 1.4.0 (setup 1.4.0): Emberholt runs only on WoW Forever 1.60.1.70888.

Version 1.4.1: an "Update" tile appears in the launcher as soon as a new
launcher version is published, without closing and reopening it (checked
about every 5 minutes, when you switch back to the launcher and after the PC
wakes up). Click "Update": it downloads, checks the signature and checksum,
replaces the launcher and reopens it. If anything fails your current launcher
keeps working. While WoW is running the update waits ("Update after you quit
the game"). When Emberholt moves to a new WoW Forever patch the tile tells you
to update WoW Forever in Battle.net. The launcher now ships its five WPF
*.dll files next to the .exe (keep them together) and no longer unpacks or
runs anything from %TEMP%.

Version 1.4.3: Emberholt runs only on WoW Forever 1.60.1.70938. Update WoW
Forever in Battle.net, then press PLAY. PLAY now also works when WoW is
installed on an exFAT or FAT32 drive (for example an external or second
drive): the private game profile is kept on your Windows drive instead.

Version 1.4.4: Emberholt runs only on WoW Forever 1.60.1.70959. Update WoW
Forever in Battle.net, then press PLAY.

Version 1.4.5: Emberholt runs only on WoW Forever 1.60.1.71037. Update WoW
Forever in Battle.net, then press PLAY.

Version 1.4.6: Emberholt runs on WoW Forever 1.60.1.71139 (71091 also
accepted). Linux (Proton / Wine) support: PLAY no longer stops with
"Windows returned invalid executable version metadata" (the game version is
read from Wow.exe itself when Windows tools are missing), the launcher's
update check works under Proton/Wine, and the launcher log notes the Wine
version. On Linux, use Proton 11 / Wine 11 or newer; older versions can't
create the folder links Emberholt's game profile needs and the launcher
says so. The in-game Support window sign-in is not available on Linux.
Nothing changes on Windows.

Version 1.4.7: more Linux (Proton / Wine) fixes. The launcher window no
longer closes when a menu or the settings panel fails to draw under Wine
(seen on ARM / x86-emulation setups); the error is logged and the launcher
keeps running. Icon buttons (settings gear, close, arrows) now show their
icons on Linux. Before preparing the game, the launcher checks that your
Wine can create folder links and, if not, says which versions work without
changing any game files.

Linux / Steam Deck quick guide:
- Works with: Proton 11 or Proton Experimental, GE-Proton 10 or newer,
  Wine 11 or newer, wine-staging 10 or newer. Not with Proton 10 / plain
  Wine 10 or older (no folder links).
- Steam / Steam Deck: install WoW Forever with Battle.net in the same
  Proton prefix (or point the launcher at the game folder), then add
  "Emberholt Launcher.exe" as a non-Steam game and choose Proton 11,
  Proton Experimental or GE-Proton under Properties > Compatibility.
- Lutris / Heroic / Bottles: run the launcher in the same prefix (bottle)
  as Battle.net and WoW Forever, with GE-Proton (Lutris/Heroic) or a
  GE-Proton / wine-staging 10+ runner (Bottles).
- If the game folder isn't found, open settings (gear) > Change... and
  pick the WoW Forever game .exe (World of Warcraft\_forever_ or
  _classic_beta_).
- ARM devices (box64 / FEX): if the launcher misbehaves, try the launch
  option DOTNET_EnableWriteXorExecute=0.
